<%@page import="cn.jekun.component.base.spring.SpringUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import = "cn.jekun.shop.app.service.LoginService" %>
<%@ page import = "java.util.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8" />
<meta name="format-detection" content="telephone=no"/>  
<title>发放优惠</title>
<!-- Mobile Specific
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<!-- CSS
================================================== -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script src="js/jquery-1.7.1.min.js"></script>
<script src="js/basic.js"></script>
<script src="../admin/js/md5.js"></script>
<script type="text/javascript">
  function goNext(){
	  var mobile = document.getElementById("mobile").value;
	  var psw = document.getElementById("psw").value;
	  
	  if(mobile=="" || psw==""){
		  return;
	  }else{
		  window.location="phoneInput.jsp?mobile="+mobile+"&password="+MD5(psw);
	  }
	  
	  
  }
</script>
</head>
<body class="">
<div class="header clearfix"><span>优惠发放</span></div>
<div class="btnBox">
	<div class="cont">
    	<input type="text" class="phoneInp" id = "mobile" placeholder="工作人员手机号码" name = "mobile" value="${param.mobile}"/>
        <input type="password" class="phoneInp" placeholder="请输入密码" id = "psw"/>
        <button type="button" class="phoneBtn" onClick="goNext()">登录</button>
	</div>
</div>
</body>
</html>